package iotwisp.school;

import iotwisp.school.config.IotWispSchoolConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.ApplicationContext;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableScheduling
@EntityScan(basePackages = {"iotwisp"})
@SpringBootApplication(scanBasePackages = {"iotwisp"})
public class IotWispWebApplication {

    @Autowired
    private IotWispSchoolConfig config;

    public static void main(String[] args) {
        ApplicationContext ctx = SpringApplication.run(IotWispWebApplication.class, args);
    }
}
